﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using BaseLib.Localiztion;

namespace DA
{
    [MetadataType(typeof(ItemsInOrderMetadata))]
    public partial class ItemsInOrder
    {
        public Type Metadata { get { return typeof(ItemsInOrderMetadata); } }
    }

    public class ItemsInOrderMetadata
    {
        [LocalizedRequired]
        [LocalizedDisplay("item_in_order_item_status")]
        public int ItemStatus { get; set; }

        [LocalizedRequired]
        [LocalizedDisplay("item_in_order_slice")]
        public int SliceId { get; set; }

        [LocalizedRequired]
        [LocalizedDisplay("item_in_order_quantity")]
        public int Quantity { get; set; }
    }
}
